<?php /* Smarty version 2.6.18, created on 2016-12-12 11:33:31
         compiled from manage/m.classify.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--头部 end--> 
<!--主体部分-->
<form name="myform" action="" method="get">	
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-right:10%;">
    <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="index.php?a=manage.manageclassifyadd&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
" style="width:30%">增加</a></div>
  </div>
  <!--row  end-->
  
  <div class="row" style="margin-top:10px;">
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="" class="col-sm-2 control-label">标题:</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" value="<?php echo $this->_tpl_vars['manage_title']; ?>
" name="manage_title">
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="" class="col-sm-2 control-label">提交者:</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" value="<?php echo $this->_tpl_vars['staff_name']; ?>
" name="staff_name">
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance hierarchy" >
      <div class="form-group">
        <label for="" class="col-sm-2 control-label">开始日期:</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" value="<?php echo $this->_tpl_vars['from']; ?>
" id="from" name="from">
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance hierarchy" >
      <div class="form-group">
        <label for="" class="col-sm-2 control-label">结束日期:</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" value="<?php echo $this->_tpl_vars['to']; ?>
" id="to" name="to">
        </div>
      </div>
    </div>
    <div class="col-xs-12 distance hierarchy2">
      <div class="form-group text-center" style="padding-top:0px;">
		<input type="hidden" name="a" value="manage.manageclassifylist">
		<input type="hidden" name="manage_type" value="<?php echo $this->_tpl_vars['manage_type']; ?>
">
        <button type="submit" class="btn btn-success absolutely ">搜索</button>
      </div>
    </div>
  </div>
  </form>
  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;"> 
    <!-- <h5>总计44条信息</h5>-->
	<?php $_from = $this->_tpl_vars['manage_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
    <table class="table table-striped table-bordered "  id="middles">
      <tr>
        <td>标题</td>
        <td><?php echo $this->_tpl_vars['value']['manage_title']; ?>
</td>
      </tr>
      <tr>
        <td>提交者</td>
        <td><?php echo $this->_tpl_vars['value']['user_name']; ?>
</td>
      </tr>
      <tr>
        <td>提交日期</td>
        <td><?php echo $this->_tpl_vars['value']['create_time']; ?>
</td>
      </tr>
      <tr>
        <td>操作</td>
        <td ><a type="button" class="btn btn-warning  " href="index.php?a=manage.manageclassifyinfolist&manage_id=<?php echo $this->_tpl_vars['value']['manage_id']; ?>
&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
" >查看</a> <a type="button" class="btn btn-danger  " href="index.php?a=manage.manageclassifyupdate&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
&manage_id=<?php echo $this->_tpl_vars['value']['manage_id']; ?>
" >修改</a></td>
      </tr>
    </table>
	<?php endforeach; endif; unset($_from); ?>	
  </div>
</div>
<!--container  end--> 

<!--主体部分  end--> 
<!--底部-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--container  end--> 

<!--底部end--> 
<!--日历--> 
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script> 
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script> 
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历--> 
<script>
  $(function() {
    $( "#from" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
	  changeYear: true,
      numberOfMonths:1,
      onClose: function( selectedDate ) {
        $( "#end_time" ).datepicker( "option", "minDate", selectedDate );
      }
    });
    $( "#to" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
      changeYear: true,
      numberOfMonths:1,
      onClose: function( selectedDate ) {
        $( "#start_time" ).datepicker( "option", "maxDate", selectedDate );
      }
    });
  });
  </script>
</body>
</html>